#pragma once

enum RegTextType
{
	RegTextType_String,
	RegTextType_Binary,
	RegTextType_DWORD,
};

class RegKeyValue
{
public:
	RegKeyValue(void);
	~RegKeyValue(void);
public:
	void SetName(CString name) { name_ = name; }
	void SetType(RegTextType type) { type_ = type; }
	void SetData(CString data) { data_ = data; }

	CString GetName() const { return name_; }
	RegTextType GetType() const { return type_; }
	CString GetData() const { return data_; }

	CString ToString();

private:
	CString name_;
	RegTextType type_;
	CString data_;
};
